<table class="table table-striped table-bordered table-hover nomargin-bottom">
	<thead>
		<tr>
								<th class="center">商品编号</th>
			<th class="center">商品名称</th>
			<th class="center">咨询发布者会员编号(0：游客)</th>
			<th class="center">会员名称</th>
			<th class="center">店铺编号</th>
			<th class="center">咨询发布者邮箱</th>
			<th class="center">咨询内容</th>
			<th class="center">咨询添加时间</th>
			<th class="center">咨询回复内容</th>
			<th class="center">咨询回复时间</th>
			<th class="center">0表示不匿名 1表示匿名</th>
			<th class="center">isDel</th>
			<th class="center">创建时间</th>
			<th class="center">修改时间</th>

			<th class="center">操作</th>
		</tr>
	</thead>

	<tbody>
		@for(item in page.list){
			<tr>
								<td class="center">${item.goodsId!}</td>
			<td class="center">${item.cgoodsName!}</td>
			<td class="center">${item.memberId!}</td>
			<td class="center">${item.cmemberName!}</td>
			<td class="center">${item.storeId!}</td>
			<td class="center">${item.email!}</td>
			<td class="center">${item.consultContent!}</td>
			<td class="center">${item.consultAddtime!}</td>
			<td class="center">${item.consultReply!}</td>
			<td class="center">${item.consultReplyTime!}</td>
			<td class="center">${item.isanonymous!}</td>
			<td class="center">${item.isDel!}</td>
			<td class="center">${item.createTime!}</td>
			<td class="center">${item.updateTime!}</td>

				<td class="center">
					<div class="hidden-sm hidden-xs action-buttons">
					@if(auth.hasPermission("base:consult:edit")){
						<a class="green" href="javascript:void(0);" 
							data-mode="page" data-title="编辑"
							data-url="${ctxPath}/consult/edit/showlayer"
							data-data="{id:'${item.id}'}" 
						>
							<i class="ace-icon fa fa-pencil bigger-130"></i>
						</a>
					@}
					
					@if(auth.hasPermission("base:consult:delete")){
						<a class="red" href="javascript:void(0);" 
							data-mode="del" data-title="删除操作"
							data-msg="你确定删除此数据吗?"
							data-url="${ctxPath}/consult/delete" 
							data-data="{id:'${item.id}',type:'${item.type}',value:'${item.value}'}"
						>
							<i class="ace-icon fa fa-trash-o bigger-130"></i>
						</a>
					@}
					</div>
				</td>
			</tr>
		@}
	</tbody>
</table>
<div class="space-8"></div>
<#paginate page="${page}" />
